package com.lazy.mongo.shw;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * Hello world!
 *
 */
public class App 
{
    private final static Logger logger = LoggerFactory.getLogger(App.class);
    
    public static void main( String[] args )
    {
        System.out.println( "Hello World!" );
        logger.info("test logger {}." + new App());
        
       /* PlanDao pds = new PlanDao();
        PosData d = pds.getByHostId("3106037");
        logger.info(" ++" + d.getHostno());*/
        for(int i=3109585;i<3109885;i++){
            PlanDao pd = new PlanDao();
            pd.delete2(String.valueOf(i));
            logger.info("----------------" + String.valueOf(i) + "-----------");
        }
        
        PlanDao pd = new PlanDao();
        pd.Repair();
        //d = pds.getByHostId("3106037");
        //logger.info(" ++" + d.getHostno());
        logger.info("end");
    }
}
